// import { Button } from 'antd'
// import React from 'react'

// export default function Home () {

//   return (
//     <div className='allout'>
//        <div  className='btn'>
//       <Button type='primary' shape='round' href='./answer' >开始答题</Button>
//        </div>
//    </div>
//   )
// }
import React from 'react'
import './home.css'
import { Link } from "react-router-dom";
import { Button } from "antd";

export default function Home() {
  return (
    <div className='allout'>
      <div className='btn'>
        <Link to='/answer'>
        <Button shape="round" type="primary">开始答题</Button>
        </Link>
      </div>
    </div>
  )
}
